/*
 * Touch.h
 *
 *  Created on: 2011/12/18
 *      Author: naoki
 */

#ifndef INCLUDED_NTENGINE_INPUT_TOUCH_H
#define INCLUDED_NTENGINE_INPUT_TOUCH_H

namespace NTEngine {
namespace Input {

class Touch {
public:
	float x( int pid = 0 ) const;
	float y( int pid = 0 ) const;
	float size( int pid = 0 ) const;

	bool isOn( int pid = 0 ) const;
	bool isTriggered( int pid = 0 ) const;

	bool isTapped() const;
	int tappedPointer() const;
	float startX( int pid = 0 ) const;
	float startY( int pid = 0 ) const;
	float distanceX( int pid = 0 ) const;
	float distanceY( int pid = 0 ) const;
};

} // namespace Input
} // namespace NTEngine

#endif // INCLUDED_NTENGINE_INPUT_TOUCH_H
